<{extend name="index/header" /}>
<{block name="body"}>
<link rel="stylesheet" href="__INDEX__/css/bdstyle.css">
<section id="page-breadcrumb">
    <div class="vertical-center sun">
         <div class="container">
            <div class="row">
                <div class="action">
                    <div class="col-sm-12">
                        <h1 class="title">发起祭祀</h1>
                        <p>Initiation of sacrifice</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<style>
.floating-labels .baidu div{
    margin:0 !important;
}      
</style>
<section style="width:100%;display:table">
<div class="error-page-inner">
    <div class="container-fluid">
        <div class="row">
            <div class="col-sm-12">
                <form class="cd-form floating-labels" method="post" action="<{:url('jisi/jisiinsert')}>" enctype="multipart/form-data">
                    <fieldset>
                        <legend>发起祭祀</legend>
                        <div class="icon">
                            <label class="cd-label" for="cd-name">祭祀名称</label>
                            <input class="user" type="text" name="jisiname" id="cd-name" required>
                        </div>
                        <div class="icon">
                            <h4>选择图片</h4>
                            <input type="file" name="jisiphoto" id="cd-file" >
                        </div>
                        <div class="icon">
                            <h4>是否公开</h4>
                            <ul class="cd-form-list">
                                <li>
                                    <input type="radio" name="jisitype" id="cd-radio-1" checked value="0">
                                    <label for="cd-radio-1">公开</label>
                                </li>
                                <li>
                                    <input type="radio" name="jisitype" id="cd-radio-2" value="1" >
                                    <label for="cd-radio-2">不公开</label>
                                </li>
                            </ul>
                        </div>
<!--                        <div class="icon" style="display:none;" id="jisipwd">
                            <label class="cd-label" for="cd-name">祭祀名称</label>
                            <input class="user" type="password" name="jisipwd" id="cd-name" required>
                        </div> -->
                        <div class="baidu">
                            <label class="cd-label" for="cd-textarea">祭祀人描述</label>
                            <!-- <textarea class="message" name="cd-textarea" id="cd-textarea" required></textarea> -->
                            <textarea id="cd-textarea" name="jisicontent" type="text/plain" style="width:100%;height:300px;margin:0 auto;">
                            </textarea>
                            <!-- 配置文件 -->
                            <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
                            <!-- 编辑器源码文件 -->
                            <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></script>
                            <!--实例化编辑器-->
                            <script type="text/Javascript">    
                            var editor = UE.getEditor('cd-textarea',{    
                                toolbars:[["fontfamily","forecolor","fontsize","rowspacingtop","lineheight","imagenone","imageleft","imageright","imagecenter","insertimage","simpleupload","justifyleft","justifyright","justifycenter","justifyjustify","forecolor","backcolor","bold"]],    
                            });    
                            </script>  
                        </div>
                        <div>
                            <input type="submit" id="sub" value="提交">
                        </div>
                    </fieldset>
                </form>
            </div>
        </div>
    </div>
</div>
</section>
<script type="text/javascript">
    $('#cd-radio-2').click(function(){
        $('#')
    });
</script>
<{/block}>